package com.zhx.common.user.domain.vo.req.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;
import java.util.List;


/**
 * 用户信息懒加载
 * {
 *   "reqList": [
 *     {
 *       "uid": 10001,
 *       "lastModifyTime": 1696064297285
 *     },
 *     {
 *       "uid": 18107
 *     },
 *     {
 *       "uid": 18028,
 *       "lastModifyTime": 1696065732032
 *     },
 *     {
 *       "uid": 11956
 *     }
 *   ]
 * }
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SummeryInfoReq {
    @ApiModelProperty(value = "用户信息入参")
    @Size(max = 50)
    private List<infoReq> reqList;

    @Data
    public static class infoReq {
        @ApiModelProperty(value = "uid")
        private Long uid;
        @ApiModelProperty(value = "最近一次更新用户信息时间")
        private Long lastModifyTime;
    }
}
